package com.mall.product.server.service;

import com.mall.common.core.domain.Result;
import com.mall.product.common.domain.PmsShop;
import com.mall.product.common.domain.PmsSkuInfo;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface IPmsSkuInfoService {



    List<PmsSkuInfo> selectPmsSkuInfoList(PmsSkuInfo pmsSkuInfo);

    PmsSkuInfo selectPmsSkuInfoBySkuId(Long id);

    PmsSkuInfo getInfo(Long skuId);

    Result<PmsShop> findShopByShopId(Long shopId);

    /**
     * 根据商户Id查看低库存列表
     * @param shopId
     * @return
     */
    List<PmsSkuInfo> findLowInventoryNumSkuList(Long shopId);

    /**
     * 项目启动库存预热
     */
    void init();
}
